package com.easygem.front.service;

import com.easygem.common.model.system.User;
import com.easygem.common.vo.system.PageVO;
import com.easygem.front.mapper.OutUserMapper;
import com.easygem.front.service.base.IBaseService;

/**
 * @author 肖智
 * @version 1.0
 * @Description TODO
 * @date 2025/3/4
 */
public interface OutUserService extends IBaseService<OutUserMapper, User,Integer> {
    //加载离职员工
    PageVO<User> selectOutUserList(Integer pageNum, Integer pageSize,String accountName);
    //根据用户id获取资源id
    Long[] getResourceIdByUserId(Long userId);
    //根据用户id获取客户id
    Long[] getClientIdByUserId(Long userId);
    //删除客户、资源
    Integer deleteResource(Long[] resourceIds);
}
